<!DOCTYPE html>
<html>
  <head><title>Test dir=rtl</title></head>
  <body>
    <p>ms lquote="A" rquote="B":
      <math dir="rtl">
	<ms lquote="A" rquote="B">___</ms>
      </math>
    </p>
  </body>
</html>
